package com.hbxy.favorite.service;

import com.hbxy.favorite.domain.Follows;
import com.hbxy.favorite.domain.User;
import com.hbxy.favorite.resault.ResponseBo;

import java.util.List;

public interface UserService {


     User login(User user);

     ResponseBo register(User user);

     User findByUsername(String username);

     User findByEmail(String userName);

    ResponseBo getUserMessage(User user);

    User getMyPersional(Long id);

    List<User> getUsers(Long id);

    User getOnePersional(Long id);

    ResponseBo addFollow(Follows follows);

    List<User> getFollows(Long userId);

    List<User> getUserSearch(String userName);

    ResponseBo qxFollow(Follows follows);

    ResponseBo updateUser(User user);

    ResponseBo updatePassword(User user);
}
